package messages.flight;

import info.Flight;
import messages.Message;

public class UPFLliInfoResponseMessage extends Message {
    private boolean isSuccess = false;
    private Flight newFlight;
    public UPFLliInfoResponseMessage() {
        super(MSG_TYPE.MSG_UPFLIINFO_REQ);
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public Flight getNewFlight() {
        return newFlight;
    }

    public void setNewFlight(Flight newFlight) {
        this.newFlight = newFlight;
    }
}
